package com.ymatou.iapi.withdraw.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*审核通过--买家/买手提现单运营审核Call
*FreeMaker Template自动生成代码
*/
public class PassApprovalCall extends YmatouBaseCall{
	private static String opurl ="/api/WithDrawAudit/PassApproval";
	
	public PassApprovalCall() {
		super(EnvSetup.getSystemUrl("withdraw_iapi"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	 public String getSuccess()
	   {
	        return getString("Success");
	   }

	    public String getCode()
	    {
	        return getString("Code");
	    }
	    public String getTraceTime()
	    {
	        return getString("TraceTime");
	    }

	    
	    public String getMsg()
	    {
	        return getString("Msg");
	    }
}